From eca5b04cf9929953c4a711795703ff8bd063e5d7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 13 Jun 1993 19:16:02 +0000 Subject: [PATCH] (c-indent-line): Call c-backward-to-start-of-if in the case of else following a close brace. --- lisp/progmodes/c-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 8c32229a299..198e430f60a 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el @@ -544,6 +544,7 @@ Return the amount the indentation changed by." (setq indent (save-excursion (forward-char) (backward-sexp) + (c-backward-to-start-of-if) (current-indentation)))) ((and (looking-at "while\\b") (save-excursion -- 2.30.2